package ${package}.dto;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name = "echo")
public class EchoDTO {

	private Integer id;
	private String message;

	public EchoDTO() {
		this(null, null);
	}

	public EchoDTO(Integer id, String message) {
		super();
		this.id = id;
		this.message = message;
	}

	@XmlElement(name = "id")
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	@XmlElement(name = "message")
	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

}
